package com.lesso.lpq.sunflower.model;


import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工考勤设备关系表
 * </p>
 *
 * @author lpq
 * @since 2025-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rel_employee_device")
public class EmployeeDevice extends BaseModel<EmployeeDevice> {

    private static final long serialVersionUID = 1L;


    /**
     * 员工ID
     */
    @TableField("employee_id")
    private Long employeeId;

    /**
     * 设备编码
     */
    @TableField("device_code")
    private String deviceCode;

    /**
     * 授权日期
     */
    @TableField("authorization_date")
    private Date authorizationDate;

    /**
     * 授权状态：1-已授权，2-已取消
     */
    @TableField("authorization_status")
    private Integer authorizationStatus;

    /**
     * 0正常，1删除
     */
    @TableField("del_status")
    @TableLogic
    private Integer delStatus;

}
